package org.acghub.config.type;

import org.acghub.config.Type;

import java.util.ArrayList;
import java.util.List;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/24/星期四 14:17
 * @Version 1.0
 */
public class ListType extends Type.CollectionType<List<?>> {

    @Override
    public String name() {
        return "list";
    }

    @Override
    public String javaInterface() {
        return "java.util.List";
    }

    @Override
    public String javaImplementation() {
        return "java.util.ArrayList";
    }

    @Override
    protected List<?> newCollection() {
        return new ArrayList<>();
    }
}
